﻿    <link rel="stylesheet" href="css/jquery-ui.css" />
    <script src="scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="scripts/jquery-ui.js" type="text/javascript"></script>
    <script src="scripts/jquery.autocomplete.js" type="text/javascript"></script>
    <script src="scripts/functions_top.js" type="text/javascript"></script>
<div align="center">
        <table style="width: 800px; height: 100%;">
            <tr>
                <td style="vertical-align: top; border-bottom-width: 1px; border-bottom-style: solid;
                    height: 100px">
                    <form action="reportdata1.wcmd" method="get" target="reportdata">
                    <input type="hidden" name="command" value="showreport" />
                    <input type="hidden" name="showreport" value="1" />
                    <table width="100%">
                        <tr>
                            <td>
                                <input name="PeriodEnable" id="PeriodEnable" type="checkbox" onclick="javascript: ChangePeriodEnable();"
                                    checked="checked" />
                            </td>
                            <td>
                                Период
                            </td>
                            <td>
                                с
                                <input type="text" id="PeriodStart" name="PeriodStart" value="%command(insertDateNow)command%">
                                по
                                <input type="text" id="PeriodEnd" name="PeriodEnd" value="%command(insertDateTomorrow)command%" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input id="UserEnable" name="UserEnable" type="checkbox" onclick="javascript: ChangeUserEnable();" />
                            </td>
                            <td>
                                Пользователь
                            </td>
                            <td>
                                <select id="UserID" name="UserID" style="width: 244px;" disabled="disabled">
                                    %command(InsertUsersToComboBox)command%
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input id="SrcEnable" name="SrcEnable" type="checkbox" onclick="javascript: ChangeSrcEnable();" />
                            </td>
                            <td>
                                Адрес источника
                            </td>
                            <td>
                                <input type="text" id="SrcAddress" name="SrcAddress" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input id="DstEnable" name="DstEnable" type="checkbox" onclick="javascript: ChangeDstEnable();" />
                            </td>
                            <td>
                                Адрес назначения
                            </td>
                            <td>
                                <input type="text" id="DstAddress" name="DstAddress" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="text-align: right">
                                <input type="submit" value="Сформировать" />
                            </td>
                        </tr>
                    </table>
                    </form>
                </td>
            </tr>
            <tr>
                <td>
                    <iframe id="reportdata" name="reportdata" src="reportdata1.wcmd" style="height: 800px;
                        width: 100%"></iframe>
                </td>
            </tr>
        </table>
    </div>
        <script src="scripts/functions_bottom.js" type="text/javascript"></script>